<?php
/**
 * Handler File Class
 *
 * @author admin <admin@wolive.cc>
 * @email admin@wolive.cc
 * @date 2017/06/01
 */

namespace app\mobile\controller;

use think\Controller;
use app\mobile\model\User;
use app\Common;

use app\admin\model\Admins;

/**
 *
 * 前台手机端控制器.
 * Class Index
 * @package app\mobile\controller
 */
class S extends Controller
{

    //http://megolive.test/mobile/s/index?groupid=5
//https://s.zyllaw.hk/mobile/s/index?groupid=5
    public function index()
    {
        $arr = $this->request->get();
        $groupid = $arr['groupid'];

        $group = Admins::table('wolive_group')->where("id", $groupid)->find();

        $this->assign('group', $group);

        return $this->fetch();
    }

}
